package com.yj_app.qualitytest.adapter;

import android.content.Context;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yj_app.qualitytest.R;
import com.yj_app.qualitytest.info.QLineInfo;

import java.util.List;

public class ScLineSearchAdapter extends BaseQuickAdapter<QLineInfo,BaseViewHolder> {


    public ScLineSearchAdapter(int layoutResId, @Nullable List<QLineInfo> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, QLineInfo item) {
        helper
                .setText(R.id.one_tv,item.getScxname());
    }
}
